<ion-view view-title="复检工单" cache-view="false">
  <ion-nav-bar class="bar-dark">
    <ion-nav-buttons side="right">
      <button class="button icon ion-qr-scanner" ng-click="scanRepairs();">扫一扫</button>
    </ion-nav-buttons>
  </ion-nav-bar>
  <ion-content>
    <ion-refresher on-refresh="doRefresh()"></ion-refresher>
    <ion-list>
      <ion-item ng-show="!orders.length">
        <p>无工单</p>
      </ion-item>
      <ion-item class="item-remove-animate item-icon-right" ng-repeat="order in orders" type="item-text-wrap" href="#/app/repairs/{{order.id}}">
        <h2>{{order.deviceName}}</h2>
        <p>工单号：{{order.id}}  时间：{{order.reportTime}}</p>
        <i class="icon ion-chevron-right icon-accessory"></i>
      </ion-item>
    </ion-list>
  </ion-content>
</ion-view>
